package com.lq.pojo;

import java.sql.Timestamp;

public class Article {

    private int articleId;
    private String articleName;
    private String articleContent;
    private String articleTag;
    private int articleCategory;
    private Timestamp articleInsertTime;
    private int userId;

    private int canComment;
    private int canPing;
    private int canSubscribe;
    private int browseNum;
    private int isDraft;

    public Article() {
    }

    public Article(int articleId, String articleName, String articleContent, String articleTag, int articleCategory, Timestamp articleInsertTime, int userId, int canComment, int canPing, int canSubscribe, int browseNum) {
        this.articleId = articleId;
        this.articleName = articleName;
        this.articleContent = articleContent;
        this.articleTag = articleTag;
        this.articleCategory = articleCategory;
        this.articleInsertTime = articleInsertTime;
        this.userId = userId;
        this.canComment = canComment;
        this.canPing = canPing;
        this.canSubscribe = canSubscribe;
        this.browseNum = browseNum;
    }

    public Article(int articleId, String articleName, String articleContent, String articleTag, int articleCategory, Timestamp articleInsertTime, int userId, int canComment, int canPing, int canSubscribe, int browseNum, int isDraft) {
        this.articleId = articleId;
        this.articleName = articleName;
        this.articleContent = articleContent;
        this.articleTag = articleTag;
        this.articleCategory = articleCategory;
        this.articleInsertTime = articleInsertTime;
        this.userId = userId;
        this.canComment = canComment;
        this.canPing = canPing;
        this.canSubscribe = canSubscribe;
        this.browseNum = browseNum;
        this.isDraft = isDraft;
    }

    public Article(int articleId, String articleName) {
        this.articleId = articleId;
        this.articleName = articleName;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public String getArticleName() {
        return articleName;
    }

    public void setArticleName(String articleName) {
        this.articleName = articleName;
    }

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent;
    }

    public String getArticleTag() {
        return articleTag;
    }

    public void setArticleTag(String articleTag) {
        this.articleTag = articleTag;
    }

    public int getIsDraft() {
        return isDraft;
    }

    public void setIsDraft(int isDraft) {
        this.isDraft = isDraft;
    }

    public int getArticleCategory() {
        return articleCategory;
    }

    public void setArticleCategory(int articleCategory) {
        this.articleCategory = articleCategory;
    }

    public Timestamp getArticleInsertTime() {
        return articleInsertTime;
    }

    public void setArticleInsertTime(Timestamp articleInsertTime) {
        this.articleInsertTime = articleInsertTime;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getCanComment() {
        return canComment;
    }

    public void setCanComment(int canComment) {
        this.canComment = canComment;
    }

    public int getCanPing() {
        return canPing;
    }

    public void setCanPing(int canPing) {
        this.canPing = canPing;
    }

    public int getCanSubscribe() {
        return canSubscribe;
    }

    public void setCanSubscribe(int canSubscribe) {
        this.canSubscribe = canSubscribe;
    }

    public int getBrowseNum() {
        return browseNum;
    }

    public void setBrowseNum(int browseNum) {
        this.browseNum = browseNum;
    }



}



